<%@ page language="java"  pageEncoding="UTF-8" %>
<%@ include file="taglibs.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>气度网 - 气度如水</title>
    <link type="text/css" rel="stylesheet" href="${ctx}/css/school_sub.css" >
</head>

<body>
<div class="container">
	<!-- 头部 -->
	<%@ include file="header.jsp"%>
    <div class="clear"></div>
    <div id="banner"></div>
    <div class="divide">
    	<div class="index_menu">
        	<a href="${ctx}/school/index" title="校园首页"><div class="school_btn">校园首页</div></a>
            <a href="${ctx}/school/listByType?typeCode=SH001004" title="校园信息"><div class="menu_btn">校园信息</div></a>
            <a href="${ctx}/school/listByType?typeCode=CM001002" title="企业需求"><div class="menu_btn">企业需求</div></a>
            <a href="${ctx}/school/listByType?typeCode=SH001006" title="学校需求"><div class="menu_btn">学校需求</div></a>
            <a href="${ctx}/school/listByType?typeCode=SH001005" title="科技前沿"><div class="menu_btn">科技前沿</div></a>
            <a href="${ctx}/school/listColleage?typeCode=all&pageNum=1&pageSize=10&orderBy=create_date&asc=desc" title="合作院校"><div class="menu_btn">合作院校</div></a>
            <a href="${ctx}/school/listByType?typeCode=#" title="留言板"><div class="menu_btn">留言板</div></a>
        </div>
        <div class="clear" ></div>
    </div>
    <div class="clear"></div>
        
    <!-- 主要内容 -->
    <div class="body">
    	<!-- 左边 -->
		<div class="part_1">
        	<div class="title">校园信息</div>
            <div class="info">
        		<div class="left_container_detail">
        		<!-- 主要新闻-->
					<div class="news_title">
						<pre><s:property value="news.title"/></pre>
					</div>
					<div class="news_createDate">
						<p>创建时间：<s:property value="news.createDate"/>&nbsp;&nbsp;&nbsp;来源：新华日报<s:property value="新华日报"/></p>
					</div>
					<div class="news_summary">
                		<p>内容摘要:</p>
						<pre><s:property value="news.summary"/></pre>
					</div>
                    <div class="news_pic">
                    	<img src="${ctx}/uploadfiles/<s:property value="news.fileName"/>" width="380">
                    </div>
					<div class="news_detail">
						<pre><s:property value="%{news.detail}" escape="false"/></pre>
					</div>
        		</div>                 
            </div>
		</div>
        <!-- 右边 -->
        <div class="part_2">
        	<!-- 排行榜 -->
        	<div class="rank">
        	<!-- 排行榜 -->
        	<div class="rank">
            	<div class="title"></div>
                <div class="info">
                <s:iterator value="rankNews.objList" var="news">     
                	<a href="${ctx}/school/viewInfo?id=<s:property value="#news.id"/>" title="<s:property value="#news.title" />">
                		<div class="name">
						<s:if test="#news.title.length() > 12 "><s:property value="#news.title.substring(0,12) + '...' "/></s:if>
						<s:else><s:property value="#news.title" /></s:else>
						(访问<s:property value="#news.hit"/>次)
						</div>
                		<div class="public_date"><s:property value="#news.createDate" /></div>
                	</a>
                </s:iterator>
                </div>
            </div>
            <!-- 广告1 -->
            <div class="ad"><a href="#" ><img src="" alt="#"></a></div>
        </div>
	</div>
    </div>
    <div class="clear"></div>
	<!-- 尾部 -->
	<%@ include file="tail.jsp"%>        
</div>
</body>
</html>
